62 #define DEFAULT_VALUE 0xBEAD
64 static uint16_t sectorValue;
72 WDT_A_initIntervalTimer(WDT_A_BASE,
73 WDT_A_CLOCKSOURCE_ACLK,
74 WDT_A_CLOCKDIVIDER_32K);
76 WDT_A_start(WDT_A_BASE);
79 SFR_clearInterrupt(SFR_WATCHDOG_INTERVAL_TIMER_INTERRUPT);
80 SFR_enableInterrupt(SFR_WATCHDOG_INTERVAL_TIMER_INTERRUPT);
95 RAM_setSectorOff(RAM_SECTOR0, RAM_RETENTION_MODE);
99 __bis_SR_register(LPM3_bits + GIE);
105 GPIO_toggleOutputOnPin(
114 #if defined(__TI_COMPILER_VERSION__) || defined(__IAR_SYSTEMS_ICC__)
115 #pragma vector=WDT_VECTOR
117 #elif defined(__GNUC__)
118 __attribute__((interrupt(WDT_VECTOR)))
__bic_SR_register_on_exit(LPM3_bits|GIE)